package com.cs.code.auto;

/**
 * <p>
 *     数据库配置配置
 * </p>
 * @author wind
 * @date    2025/1/22 11:40
 * @version v1.0
 */
public class DbConfig {

    /**
     * 表名称模糊匹配
     */
    protected String name;

    /**
     * schema
     */
    protected String schema;

    /**
     * 数据库名称
     */
    protected String dbName;

    protected DbConfig(){

    }

    public DbConfig name(String name){
        this.name = name;
        return this;
    }

    public DbConfig dbName(String dbName){
        this.dbName = dbName;
        return this;
    }

    public DbConfig schema(String schema){
        this.schema = schema;
        return this;
    }

    public DbConfig all(){
        return this;
    }
}
